package indi.zhifa.engine.redis.enums;


import indi.zhifa.engine.core.common.ann.enums.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@EnumDesc(name = "数据权限类型")
@RequiredArgsConstructor
public enum ERedisType {

    NORMAL(1,"普通redis","普通redis,用户存储数据"),
    CACHE(2,"缓存redis","用于缓存数据"),
    REDISSON(3,"redisson的redis","用于分布式事务的缓存数据"),
    SESSION(4,"session的redis","redis-session的缓存");


    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String description;
}
